projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77a5664
)
[HAVE_UNISTD_H]: Include unistd.h.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 20 Jul 1997 17:37:56 +0000
(17:37 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 20 Jul 1997 17:37:56 +0000
(17:37 +0000)
lib-src/etags.c
patch
|
blob
|
history
diff --git
a/lib-src/etags.c
b/lib-src/etags.c
index a9e35d34139a964cfe09bb02ccaf0ebfcc414680..11f4f6a97a2033715291facc105130ba7f3ab80e 100644
(file)
--- a/
lib-src/etags.c
+++ b/
lib-src/etags.c
@@
-77,6
+77,11
@@
extern int errno;
#include <sys/types.h>
#include <sys/stat.h>
+/* This is to declare getcwd. */
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#if !defined (S_ISREG) && defined (S_IFREG)
# define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
#endif